-
Home
-
Asaas Gateway for WooCommerce
-
2.5.0
-
Code
-
Classes
- Webhook
| Total Complexity |
71 |
| Dependencies |
14 |
| Dependents |
3 |
| Total lines |
480 |
| Lines of code |
262 |
| Logical lines of code |
178 |
| Comment lines |
129 |
| Methods |
17 |
| Properties |
4 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| on_payment_created() |
B |
35 |
20 |
79 |
| process_event() |
A |
51 |
9 |
30 |
| process_payment() |
A |
53 |
9 |
21 |
| update_order_values_on_credit_card() |
S |
55 |
6 |
21 |
| on_payment_refunded() |
S |
54 |
5 |
20 |
| on_payment_deleted() |
S |
60 |
3 |
13 |
| on_payment_overdue() |
S |
60 |
3 |
13 |
| on_payment_restored() |
S |
60 |
3 |
13 |
| calculate_item_total() |
S |
67 |
2 |
8 |
| calculate_item_fee_value() |
S |
70 |
2 |
6 |
| on_payment_updated() |
S |
69 |
2 |
6 |
| set_order_discount() |
S |
67 |
2 |
8 |
| __construct() |
S |
66 |
1 |
8 |
| __get() |
S |
81 |
1 |
3 |
| on_payment_confirmed() |
S |
76 |
1 |
4 |
| add_item_fee_to_order() |
S |
71 |
1 |
6 |
| add_order_note() |
S |
79 |
1 |
3 |